/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package collision;

import javax.swing.JFrame;

public class PokemonVsZombies extends JFrame {

    private int THIS_WIDTH = 640;
    private int THIS_HEIGHT = 500;
        
        
    private StartMenu menu;
    private Board board;
    private boolean end;
    private int choose;
    private int add;
    
    
    
        
    public PokemonVsZombies() {
        
        //add(new Board(THIS_WIDTH, THIS_HEIGHT));

        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setSize(THIS_WIDTH, THIS_HEIGHT);
        setLocationRelativeTo(null);
        setTitle("Collision");
        setResizable(false);
        setVisible(true);
        
       /* end = false;
        
        menu = new StartMenu();
        this.add(menu);
        MenuControl();*/
        
        
    }

    public static void main(String[] args) {
        PokemonVsZombies frame = new PokemonVsZombies();
        Menu menu = new Menu(frame);
        
    }
    
    
   /* private void MenuControl(){
        
        while(!end){
            
            if(menu.getFinished() == 3){
               this.remove(menu);
               menu = new StartMenu();
               menu.setFinished(0);
               this.add(menu);
            }
            
            if(menu.getFinished() == 1){
                System.out.println("Entrou =)");
                menu.removeAll();
                this.remove(menu);
                board =(Board) new Board(640,500);
                menu.setFinished(0);
                this.add(menu);
            }
            
            if(menu.getFinished() == 2){
                this.remove(menu);
                menu = new Credits();
                System.exit(0);
            }
            
               
        }
        
    }*/
}
